 
package com.xbongbong.sys.domain.entity;

import com.xbongbong.paas.toolbox.util.DateUtil;
import com.xbongbong.paas.toolbox.wrap.Entity;
import lombok.ToString;

/**
 * @author oldVersion
 */
@ToString
public class CompanyConfigEntity extends Entity {

	/** Comment for <code>serialVersionUID</code> */
	private static final long serialVersionUID = 2345452490990591244L;

	public CompanyConfigEntity(){
		long now = DateUtil.getInt();
		addTime = now;
		updateTime = addTime;
		del = 0;
	}
	//========== properties ==========

	/**主键*/
	private Long id;
    /**公司id*/
	private String corpid;
    /**配置名，用于显示*/
	private String configName;
    /**配置别名 key，英文*/
	private String configAlias;
    /**配置值*/
	private String configValue;
    /**创建时间*/
	private Long addTime;
    /**更新时间*/
	private Long updateTime;
    /**删除标记*/
	private Integer del;

    public CompanyConfigEntity(String corpid, String configName, String configAlias, String configValue) {
    	this();
    	this.corpid = corpid;
    	this.configName = configName;
    	this.configAlias = configAlias;
    	this.configValue = configValue;
    }

    //========== getters and setters ==========


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getCorpid() {
		return corpid;
	}
	
	public void setCorpid(String corpid) {
		this.corpid = corpid;
	}
	public String getConfigName() {
		return configName;
	}
	
	public void setConfigName(String configName) {
		this.configName = configName;
	}
	public String getConfigAlias() {
		return configAlias;
	}
	
	public void setConfigAlias(String configAlias) {
		this.configAlias = configAlias;
	}
	public String getConfigValue() {
		return configValue;
	}
	
	public void setConfigValue(String configValue) {
		this.configValue = configValue;
	}

	public Long getAddTime() {
		return addTime;
	}

	public void setAddTime(Long addTime) {
		this.addTime = addTime;
	}

	public Long getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Long updateTime) {
		this.updateTime = updateTime;
	}

	public Integer getDel() {
		return del;
	}
	
	public void setDel(Integer del) {
		this.del = del;
	}
}

